package com.bree.erp.service;

import java.util.List;

import com.bree.erp.entity.Address;
import com.bree.erp.entity.PhoneType;
import com.bree.erp.entity.Warehouse;

public interface WarehouseService extends Crud<Warehouse, String>{

	Warehouse create(String code, String name);
	Warehouse read(String code);
	Warehouse update(String code, String name);
	Warehouse update(String code, Address address);
	Warehouse update(String code, PhoneType type, String phoneDetail);
	void delete(String code);
	
	List<Warehouse> list();
	
}
